package com.ruoyi.ruoyimaintenance.service;

import com.github.pagehelper.PageInfo;
import com.ruoyi.ruoyimaintenance.domain.entity.MaintenanceDL;
import com.ruoyi.ruoyimaintenance.domain.entity.MaintenanceDeviceConfig;
import com.ruoyi.ruoyimaintenance.domain.entity.MaintenanceLogdata;

import java.util.List;

public interface MaintenanceLogdataService {


   int addMaintenanceLogdata(MaintenanceDL maintenanceDL);

   PageInfo<MaintenanceLogdata> maintenanceLogdataBySearch(Integer pageNub, Integer pageSize, Integer line, String machineNumber, String headNumber,String timeStar,String timeEnd);

   int deleteMaintenanceLogdata(Long id);

   PageInfo<MaintenanceDL> maintenanceDLBySearch(Integer pageNub, Integer pageSize, Integer line, String machineNumber, String headNumber);

   int updateMaintenanceLogdata(long id,  String maintenanceDate, String headCount, String maintenanceItem, String maintenanceResult, String implementer, String abnormalDescription);

   List<MaintenanceDL> queryMaintenanceDLList(Integer line, String machineNumber, String headNumber, String timeStar, String timeEnd);
}
